package com.easyj.admin.db.mapper;

import com.easyj.admin.db.model.DirtionaryItem;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DirtionaryItemMapper {
    long countByExample(DirtionaryItem example);

    int deleteByPrimaryKey(Long id);

    int insert(DirtionaryItem record);

    int insertSelective(DirtionaryItem record);

    List<DirtionaryItem> selectByExample(DirtionaryItem example);

    DirtionaryItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DirtionaryItem record);

    int updateByPrimaryKey(DirtionaryItem record);

    DirtionaryItem selectUniqueByItem(@Param("parentCode") String parentCode, @Param("code") String code);
}